package es.ats.codington.festival.domain;

public class Place {
	
private String name;
private String address;
private int capacity;
private String town;
private String description;
private int iDplace;
private String type;

//Constructors

/**
 * @param name
 * @param address
 * @param capacity
 * @param town
 * @param description
 */
public Place(String name, String address, int capacity, String town,
		String description, String type) {
	super();
	this.name = name;
	this.address = address;
	this.capacity = capacity;
	this.town = town;
	this.description = description;
	this.type = type;

}

/**
 * Default Constructor
 */
public Place() {
	super();
}


//Getters and Setters

/** This method obtain the name
 * @return name
 */
public String getName() {
	return name;
}

/** This method changes the name
 * @param name
 */
public void setName(String name) {
	this.name = name;
}
/** This method obtain the address
 * @return address
 */
public String getAddress() {
	return address;
}
/** This method changes the address
 * @param address
 */
public void setAddress(String address) {
	this.address = address;
}
/** This method obtain the capacity
 * @return capacity
 */
public int getCapacity() {
	return capacity;
}
/** This method changes the capacity
 * @param capacity
 */
public void setCapacity(int capacity) {
	this.capacity = capacity;
}
/** This method obtain the town
 * @return town
 */
public String getTown() {
	return town;
}
/** This method changes the town
 * @param town
 */
public void setTown(String town) {
	this.town = town;
}
/** This method obtain the description
 * @return description
 */
public String getDescription() {
	return description;
}
/** This method changes the description
 * @param description
 */
public void setDescription(String description) {
	this.description = description;
}

/**
 * @return the iDplace
 */
public int getiDplace() {
	return iDplace;
}

/**
 * @param iDplace the iDplace to set
 */
public void setiDplace(int iDplace) {
	this.iDplace = iDplace;
}

public String getType() {
	return type;
}

public void setType(String type) {
	this.type = type;
}



}
